package Data;

import java.sql.SQLException;
import java.util.Date;

import Domain.Book;
import Domain.Seller;

public class testbookmapper {

	public static void main(String[] args) throws SQLException, ClassNotFoundException {
//		Book testbok = new Book(1, "Grand designs","Leif svensson", 123456789,  3, "Bra", "informatik", new Date(), 0, 199.99, new Seller(1, "Sven Larsson", "Larsson@gmail.com", 0705554442));
//	System.out.println(testbok);
//		BookMapper testbkmapper = new BookMapper();
//		testbkmapper.insert(testbok);
		
		
		BookMapper testbkmapper2 = new BookMapper();
			System.out.println(testbkmapper2.retrieve(5));
			
			SellerMapper skmapper2 = new SellerMapper();
			System.out.println(skmapper2.retrieve(23));
	}

}
